package org.twnmayberry.dao;

import java.util.List;

import javax.persistence.EntityManager;

import org.twnmayberry.bo.Activity;
import org.twnmayberry.bo.Type;

public interface ActivityDAO {

	public Activity getActivityByID(long id);
	
	public List<Activity> getActivitiesByType(Type type);
	
	public void createActivity(Activity newActive);
	
	public boolean deleteActivity(Activity deadActive);
	
	public long purgeActivities();

	public void setEntityManager(EntityManager em);
	
}
